import 'package:flutter/cupertino.dart';
/**
 * "我的页面"数据实体类
 * @param phone<String> 手机号码
 * @param imgSrc<String> 头像地址
 * **/

class UserInfo extends ChangeNotifier {
  String phone;
  String imgSrc;
  String base64;

  UserInfo({this.phone, this.imgSrc});

  set(String phone, String imgsrc) {
    this.phone = phone;
    this.imgSrc = imgsrc;
    notifyListeners();
  }

  setImg(String bas64) {
    this.base64 = bas64;
    notifyListeners();
  }
}
